package com.qf.md.type.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author zdl
 * @date 2025/2/28
 */
@Data
public class MdItemTypeVO {

    private Long itemTypeId;
    private String itemTypeName;
    private Integer orderNum;
    private String itemOrProduct;
    private String enableFlag;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    private List<MdItemTypeVO> children;
}
